package routers

import (


	"github.com/gin-gonic/gin"
	"project/MiddleWare"
)

func sysNoCheckRoleRouter(r *gin.RouterGroup) {
	r = r.Group("/apis")
	//studentsRouter(r)
	//coursesRouter(r)
	//scRouter(r)
	//loginRouter(r)
}

func InitRouter() *gin.Engine {
	r := gin.New()
	r.Use(MiddleWare.Cors())
	g := r.Group("/system")

	sysNoCheckRoleRouter(g)

	return r
}
